/* 公共的样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.nav {
    height: 50px;
    font-size: 25px;
    background-color: rgba(50, 50, 50, 0.304);
    color: white;
    text-align: center;
    line-height: 50px;
    padding-left: 20px;
}

.container {
    width: 100%;
    height: calc(100% - 50px);

    display: flex;
    align-items: center;
    justify-content: center;
}

#user_info {
    position: absolute;
    top: 10%;
    left: 3%;
    width: 480px;
    height: 200px;
    font-size: 20px;
    background-color: rgba(197, 173, 173, 0.511);
    color: rgb(4, 39, 39);
    border-radius: 10px;

    text-align: center;
    line-height: 100px;
}

#help_msg{
    position: absolute;
    bottom: 2%;
    left: 3%;
    width: 480px;
    height: 400px;
    font-size: 20px;
    background-color: rgba(197, 173, 173, 0.511);
    color: rgb(10, 31, 122);
    border-radius: 10px;
}

.button_style{
    width: 400px;
    height: 120px;
    font-size: 40px;
    color: white;
    border: none;
    outline: none;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#match-button_1 {
    position: absolute;
    top:10%;
    left: 38%;
    background-color: rgba(241, 87, 87, 0.486);
}

#match-button_2 {
    position: absolute;
    top:32%;
    left: 38%;
    background-color: rgba(79, 110, 151, 0.486);
}

#match-button_3 {
    position: absolute;
    top:54%;
    left: 38%;
    background-color: rgba(107, 168, 112, 0.486);
   
}

#match-button_4 {
    position: absolute;
    top:78%;
    left: 38%; 
    background-color: rgba(199, 133, 183, 0.486);
}


#match-button_1:active {
    background-color: gray;
}
#match-button_2:active {
    background-color: gray;
}
#match-button_3:active {
    background-color: gray;
}
#match-button_4:active {
    background-color: gray;
}

#ranking_list{
    position: absolute;
    right: 5%;
    top:10%;
    width: 400px;
    height: 620px;
    background-color: rgba(206, 129, 41, 0.459);
    color: white;
    border-radius: 10px;
}


.head_one{
    font-size: 20px;
    font-weight:bold;
    text-align: left;
}

.head_two{
    font-size:20px;
    color:#0055db;
   
}

/* .content{
    display: block;
} */

.rank_content .body_one{
    font-size:18px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 40px;
}

.rank_content .body_two{
    font-size:18px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    padding-left: 60px;
}

.num{
    font-size: 20px;
    color:#fffff3;
    padding-right: 4px;
    padding-left: 4px;

}

.first{
    background-color: #f54545;           
}

.second{
    background-color: #ff8547;
}

.third{
    background-color: #ffac38;
}

.fourth{
    background-color: #8eb9f5;
}

.sep{
    padding-left: 40px;
}